<?php include_stylesheets_for_form($form) ?>
<?php include_javascripts_for_form($form) ?>

<?php use_javascript('/js/e-dsl/datepicker.js') ?>
<?php use_stylesheet('/css/e-dsl/datepicker.css') ?>

<!--Creation du formulaire-->
<?php include_partial('global/formHeader', array('form' => $form, 'module' => $module, 'form_Phase2' => $form_Phase2, 'd' =>$d, 'action'=>$action)) ?>

<?php if($default=='true'):?>
			<?php  if ($form->isCSRFProtected()) : ?> 
			<?php endif; ?>							
		  <?php 
	   	  $objDef = new objectDef($className);
	   	  $section = '';
		  foreach($objDef['attributes'] as $fieldName => $att){
		  	 $objDef->renderAttributeWidget($form,$fieldName); 
		  }
		  include_partial('global/buttons', array('form' => $form, 'module' => $module)) ?>
<?php endif;?>
